package pojo;

/**
 * @author wq3stone
 */
public class Category {
    Integer code;
    Integer pcode;
    String name;
    Integer uid;

    public Category(String name, Integer uid) {
        this.name = name;
        this.uid = uid;
    }

    public Category() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getPcode() {
        return pcode;
    }

    public void setPcode(Integer pcode) {
        this.pcode = pcode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Category(Integer code, Integer pcode, String name) {
        this.code = code;
        this.pcode = pcode;
        this.name = name;
    }

    public Category(Integer code, String name, Integer uid) {
        this.code = code;
        this.name = name;
        this.uid = uid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Category(Integer code, Integer pcode, String name, Integer uid) {
        this.code = code;
        this.pcode = pcode;
        this.name = name;
        this.uid = uid;
    }
}
